//查询模板文件
const path = require('path');
const fs =require('fs')

module.exports = async function chaMuBan(qingQiu, xiangYing, jieZhe) {
	let muBanLieBiao = fs.readdirSync(path.resolve('muBan'));
	if (qingQiu.path == '/chaMuBan') {
		xiangYing.append('content-type', 'application/json')
		xiangYing.send(JSON.stringify(muBanLieBiao))
	}else jieZhe();
}